package com.inspur.gs.fssp.fssc.robxd.robxd.back.robxd.common;
import com.inspur.edp.cef.entity.entity.AssoInfoBase;
import com.inspur.edp.cef.entity.entity.EntityDataUtils;
import com.inspur.edp.cef.entity.entity.IEntityData;
import com.inspur.edp.cef.entity.entity.IEntityDataCollection;
import com.inspur.edp.common.commonudt.billstate.entity.IBillState;
import com.inspur.edp.common.commonudt.processinstance.entity.IProcessInstance;
import java.math.BigDecimal;
import java.util.Date;

public final class ROBXDUtils{
    public static String getID(IEntityData data){
        return (String)EntityDataUtils.getValue(data,"ID");
    }
    public static void setID(IEntityData data,String propertyValue){
        EntityDataUtils.setValue(data,"ID",propertyValue);
    }
    public static Date getVersion(IEntityData data){
        return (Date)EntityDataUtils.getValue(data,"Version");
    }
    public static void setVersion(IEntityData data,Date propertyValue){
        EntityDataUtils.setValue(data,"Version",propertyValue);
    }
    public static IBillState getBillStatus(IEntityData data){
        return (IBillState)EntityDataUtils.getValue(data,"BillStatus");
    }
    public static void setBillStatus(IEntityData data,IBillState propertyValue){
        EntityDataUtils.setValue(data,"BillStatus",propertyValue);
    }
    public static IProcessInstance getProcessInstance(IEntityData data){
        return (IProcessInstance)EntityDataUtils.getValue(data,"ProcessInstance");
    }
    public static void setProcessInstance(IEntityData data,IProcessInstance propertyValue){
        EntityDataUtils.setValue(data,"ProcessInstance",propertyValue);
    }
    public static AssoInfoBase getEmployeeID(IEntityData data){
        return (AssoInfoBase)EntityDataUtils.getValue(data,"EmployeeID");
    }
    public static void setEmployeeID(IEntityData data,AssoInfoBase propertyValue){
        EntityDataUtils.setValue(data,"EmployeeID",propertyValue);
    }
    public static AssoInfoBase getDomainID(IEntityData data){
        return (AssoInfoBase)EntityDataUtils.getValue(data,"DomainID");
    }
    public static void setDomainID(IEntityData data,AssoInfoBase propertyValue){
        EntityDataUtils.setValue(data,"DomainID",propertyValue);
    }
    public static String getBillCode(IEntityData data){
        return (String)EntityDataUtils.getValue(data,"BillCode");
    }
    public static void setBillCode(IEntityData data,String propertyValue){
        EntityDataUtils.setValue(data,"BillCode",propertyValue);
    }
    public static BigDecimal getTotalSum(IEntityData data){
        return (BigDecimal)EntityDataUtils.getValue(data,"TotalSum");
    }
    public static void setTotalSum(IEntityData data,BigDecimal propertyValue){
        EntityDataUtils.setValue(data,"TotalSum",propertyValue);
    }
    public static String getBillType(IEntityData data){
        return (String)EntityDataUtils.getValue(data,"BillType");
    }
    public static void setBillType(IEntityData data,String propertyValue){
        EntityDataUtils.setValue(data,"BillType",propertyValue);
    }
    public static Date getBillDate(IEntityData data){
        return (Date)EntityDataUtils.getValue(data,"BillDate");
    }
    public static void setBillDate(IEntityData data,Date propertyValue){
        EntityDataUtils.setValue(data,"BillDate",propertyValue);
    }
    public static String getProjectID(IEntityData data){
        return (String)EntityDataUtils.getValue(data,"ProjectID");
    }
    public static void setProjectID(IEntityData data,String propertyValue){
        EntityDataUtils.setValue(data,"ProjectID",propertyValue);
    }
    public static String getBillNote(IEntityData data){
        return (String)EntityDataUtils.getValue(data,"BillNote");
    }
    public static void setBillNote(IEntityData data,String propertyValue){
        EntityDataUtils.setValue(data,"BillNote",propertyValue);
    }
    public static AssoInfoBase getProjectMrg(IEntityData data){
        return (AssoInfoBase)EntityDataUtils.getValue(data,"ProjectMrg");
    }
    public static void setProjectMrg(IEntityData data,AssoInfoBase propertyValue){
        EntityDataUtils.setValue(data,"ProjectMrg",propertyValue);
    }
    public static String getAuditStatus(IEntityData data){
        return (String)EntityDataUtils.getValue(data,"AuditStatus");
    }
    public static void setAuditStatus(IEntityData data,String propertyValue){
        EntityDataUtils.setValue(data,"AuditStatus",propertyValue);
    }
    public static IEntityDataCollection getBXMXs(IEntityData data){
        return EntityDataUtils.getChildDatas(data,"BXMX");
    }
    public static IEntityDataCollection getBXFJs(IEntityData data){
        return EntityDataUtils.getChildDatas(data,"BXFJ");
    }
}